package ch.hearc.coursJava.kitBase.tableau.equationOrdre1;

import static org.junit.Assert.assertTrue;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;

public class EquationOrdre1Test
	{

	/*------------------------------------------------------------------*\
	 |*							Constructeurs							*|
	 \*------------------------------------------------------------------*/

	@Before
	public void before()
		{
		// rien
		}

	@After
	public void after()
		{
		// rien
		}

	/*------------------------------------------------------------------*\
	 |*							Methodes Public							*|
	 \*-----------------------------------------------------------------*/

	@Test
	public void testLinearEquation()
		{
		double a = 1.0;
		double b = 5.0;

		double resultatTheorique = -5;
		double resultat = EquationOrdre1.solve(a,b);

		assertTrue(resultatTheorique==resultat);
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	}
